package com.hutao.manage.mapper;

import com.hutao.manage.pojo.Stdhospitaloffice;
import com.hutao.manage.pojo.StdhospitalofficeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StdhospitalofficeMapper {
    /**
     *
     * @代码生成于 2020-06-10
     */
    int countByExample(StdhospitalofficeExample example);

    /**
     *
     * @代码生成于 2020-06-10
     */
    int deleteByExample(StdhospitalofficeExample example);

    /**
     *
     * @代码生成于 2020-06-10
     */
    int deleteByPrimaryKey(Long id);

    /**
     *
     * @代码生成于 2020-06-10
     */
    int insert(Stdhospitaloffice record);

    /**
     *
     * @代码生成于 2020-06-10
     */
    int insertSelective(Stdhospitaloffice record);

    /**
     *
     * @代码生成于 2020-06-10
     */
    List<Stdhospitaloffice> selectByExample(StdhospitalofficeExample example);

    /**
     *
     * @代码生成于 2020-06-10
     */
    Stdhospitaloffice selectByPrimaryKey(Long id);

    /**
     *
     * @代码生成于 2020-06-10
     */
    int updateByExampleSelective(@Param("record") Stdhospitaloffice record, @Param("example") StdhospitalofficeExample example);

    /**
     *
     * @代码生成于 2020-06-10
     */
    int updateByExample(@Param("record") Stdhospitaloffice record, @Param("example") StdhospitalofficeExample example);

    /**
     *
     * @代码生成于 2020-06-10
     */
    int updateByPrimaryKeySelective(Stdhospitaloffice record);

    /**
     *
     * @代码生成于 2020-06-10
     */
    int updateByPrimaryKey(Stdhospitaloffice record);
    
    List<Stdhospitaloffice> selectBySwitchCodeb(String switchCodeb);
    
    
}